// basin.txt
// Cell 0 - Effects of basin
// Cell 1 - modifier, defaults to 90

// effects
// 0 - bless
// 1 - haste
// 2 - essence shield
// 3 - essence armor
// 4 - regem
// 5 - protection aura (lasting)
// 6 - invlum
// 7 - poison
// 8 - acid
// 9 - summon a group
// 10 - more energy
// 11 - less energy
// 12 - nothing
// 13 - heal
// 14 - experience
// 15 - cure death curse
// 16 - give item
// 17 - increase stat

beginobjectscript;

variables;

short amount = 10;

body;

beginstate INIT_STATE;
	if (get_memory_cell(1) != 0)
		amount = get_memory_cell(1);
	break;

beginstate DEAD_STATE;

break;

beginstate START_STATE; 
break;

beginstate USE_STATE;
	if ((char_ok(5709)) && (get_attitude(5709) < 10)) {
		ok_dlog(29,1);
		end();
		}
	print_str_color("Drink Water: You drink the water in the basin.",2);
	print_str_color("  It makes you feel incredibly invigorated.",2);
	play_sound(22);
		run_sparkles_on_object(ME,1,1,1);

		print_str_color("  You feel a powerful jolt of life force flowing into you.",2);
		status_nearby(-10,3,26,0);

	kill_object(ME,0);
break;